* alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 17:05:33 +0000 (10:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 17:05:33 +0000 (10:05 -0700)
commit02107fc437abc4137ea7ff633cf0e27433a00c56
treeb3fe9b31a2247372aa503f76f8b713f8949a5268
parent94f3389f3ea2975dbcaa9abec02bf14233d80139
* alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race.

Without this fix, if a signal arrives just after memory fills up,
'malloc' might be invoked reentrantly.
src/ChangeLog
src/alloc.c